package factory;

import dao.ExamDao;
import dao.StudentDao;
import dao.TeacherDao;
import daoimpl.ExamDaoImpl;
import daoimpl.StudentDaoImpl;
import daoimpl.TeacherDaoImpl;

public class DaoFactory {
	public static StudentDao getStudentDaoInstance() {
		return new StudentDaoImpl();
	}

	public static TeacherDao getTeacherDaoInstance() {
		return new TeacherDaoImpl();
	}

	public static ExamDao getExamDaoInstance() {
		return new ExamDaoImpl();
	}
}
